import request from '@/utils/request'

export function listWxReply(query) {
  return request({
    url: '/wxmp/wxReply/list',
    method: 'get',
    params: query
  })
}

export function addWxReply(obj) {
  return request({
    url: '/wxmp/wxReply',
    method: 'post',
    data: obj
  })
}

export function getWxReply(id) {
  return request({
    url: '/wxmp/wxReply/' + id,
    method: 'get'
  })
}

export function delWxReply(id) {
  return request({
    url: '/wxmp/wxReply/' + id,
    method: 'delete'
  })
}

export function editWxReply(obj) {
  return request({
    url: '/wxmp/wxReply',
    method: 'put',
    data: obj
  })
}
